import request from '@/utils/request'
//1、查询下一级分类集合
export const ListCatesByPid = pid => {
  return request({
    url: `/admin/product/category/listByParentId/${pid}`,
    method: 'GET',
  })
}
//2、导出商品分类的excel
export const ExportCates = () => {
  return request({
    url: `/admin/product/category/export`,
    method: 'GET',
    //表示响应体内容的类型，不指定 默认使用JSON解析
    responseType: 'blob',
  })
}
